class AdminModel {
  int code;
  String msg;
  List<AdminData> data;

  AdminModel({this.code, this.msg, this.data});

  AdminModel.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg'];
    if (json['data'] != null) {
      data = new List<AdminData>();
      json['data'].forEach((v) {
        data.add(new AdminData.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['msg'] = this.msg;
    if (this.data != null) {
      data['data'] = this.data.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class AdminData {
  int createTime;
  String createUser;
  int updateTime;
  String updateUser;
  String isDel;
  int id;
  String userAccount;
  String userPassword;
  String remark;
  int isDisable;

  AdminData(
      {this.createTime,
        this.createUser,
        this.updateTime,
        this.updateUser,
        this.isDel,
        this.id,
        this.userAccount,
        this.userPassword,
        this.remark,
        this.isDisable});

  AdminData.fromJson(Map<String, dynamic> json) {
    createTime = json['createTime'];
    createUser = json['createUser'];
    updateTime = json['updateTime'];
    updateUser = json['updateUser'];
    isDel = json['isDel'];
    id = json['id'];
    userAccount = json['userAccount'];
    userPassword = json['userPassword'];
    remark = json['remark'];
    isDisable = json['isDisable'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['createTime'] = this.createTime;
    data['createUser'] = this.createUser;
    data['updateTime'] = this.updateTime;
    data['updateUser'] = this.updateUser;
    data['isDel'] = this.isDel;
    data['id'] = this.id;
    data['userAccount'] = this.userAccount;
    data['userPassword'] = this.userPassword;
    data['remark'] = this.remark;
    data['isDisable'] = this.isDisable;
    return data;
  }
}